package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Reward;

public interface RewardMapper {

	public int deleteRewardById(long id);

	public Reward selectRewardById(long id);

	public List<Reward> selectRewardByMap(Map<String,Object> map);

	public List<Reward> selectReward(Reward reward);

	public List<Reward> selectAllReward();

	public int insertReward(Reward reward);

	public int updateReward(Reward reward);

	public int deleteReward(Reward reward);

	public int updateRewardByMap(Map<String,Object> map);

	public int deleteRewardByMap(Map<String,Object> map);
	public int getAllRewardCounts();
	public int getRewardCounts(Reward reward);
	public int getRewardCountsByMap(Map<String,Object> map);
}
